import Vue from 'vue';
import App from './App';
import router from './router';
import store from './vuex/store';
import Mui from 'vue-awesome-mui';
import axios from 'axios';
import resouce from 'vue-resource';
import muii from 'vue-awesome-mui/mui/dist/js/mui.min';
import Global from './js/global';
import 'vue-awesome-mui/mui/dist/css/mui.css';
import 'vue-awesome-mui/mui/dist/css/iconfont.css';
import 'vue-awesome-mui/mui/dist/js/iconfont';
import { setDPR, remChange } from './js/remChange';
setDPR();
remChange();

Vue.prototype.global = Global;
Vue.prototype.axios = axios;
Vue.use(Mui);
Vue.use(resouce);
Vue.prototype.mui = muii;
Vue.config.productionTip = false;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  Mui,
  axios,
  template: '<App/>',
  components: { App }
});
